/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package uit.ejb.dae.loaiphong;

import java.rmi.RemoteException;
import javax.ejb.EJBObject;
import javax.sql.rowset.WebRowSet;
import uit.ejb.dto.LoaiPhongDTO;

/**
 *
 * @author Restart
 */
public interface LoaiPhongDAERemote extends EJBObject {

    boolean loaiPhong_Insert(LoaiPhongDTO loaiphong) throws RemoteException;

    boolean loaiPhong_Update(LoaiPhongDTO loaiphong) throws RemoteException;

    boolean loaiPhong_Delete(String id) throws RemoteException;

    WebRowSet loaiPhong_GetByAll() throws RemoteException;

    WebRowSet loaiPhong_GetById(String id) throws RemoteException;
}
